$(document).ready(function(){
$(".flip").click(function(){
    $(".panel").slideToggle("slow");
    if($(".flip img").attr("src") == "../images/arrow-up.png")
    $(".flip img").attr("src", "../images/arrow-down.png");
    else
    $(".flip img").attr("src", "../images/arrow-up.png");
  });
});


$(document).ready(function(){
    var slideFlag = 0;
$(".top-right-btn").click(function(){
    if(slideFlag == 0){
    $(this).find(".drop-menu").slideDown();
    slideFlag = 1;
    }
    else{
    $(".drop-menu").slideUp();
    slideFlag = 0;
    }
  });

});